<?php
namespace Home\Controller;

use Think\Controller;

class IndexController extends Controller
{
    public function index()
    {
        $this->display();
    }

    public function indexData()
    {
//        $this->nick();
//        $standardSingle = M('room')->where("room_category='标准单人房'")->field("room_price")->select();
//        $standardSinglePrice = $standardSingle[0]['room_price'];
//        $this->assign('standardSinglePrice', $standardSinglePrice);
        $this->display();
    }

    public function serviceItem()
    {
        $this->display();
    }
}
